.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f7ff 0%, #e8f4f8 50%, #f0f7ff 100%);
  padding-top: 72px;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,115,232,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,115,232,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero-dots {
  position: absolute;
  top: 20%;
  right: 10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(26,115,232,0.1) 2px, transparent 2px);
  background-size: 30px 30px;
}

.hero-circle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
}

.hero-circle-1 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.hero-circle-2 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  bottom: -50px;
  left: -50px;
  animation: float 10s ease-in-out infinite reverse;
}

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

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

.hero-text {
  padding: 40px 0;
}

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

.hero-text h1 {
  font-size: 48px;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 20px;
}

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

.hero-text p {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 520px;
}

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

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-card {
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.8);
  width: 100%;
  max-width: 480px;
  position: relative;
}

.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.hero-card-header h3 {
  font-size: 18px;
  color: var(--text-primary);
}

.hero-card-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #10b981;
}

.hero-card-status .dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-card-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}

.hero-card-row:last-child {
  border-bottom: none;
}

.hero-card-label {
  font-size: 13px;
  color: var(--text-light);
  min-width: 70px;
}

.hero-card-value {
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  flex: 1;
}

.hero-card-ai {
  position: absolute;
  top: -12px;
  right: -12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(26,115,232,0.3);
}

.hero-qr-card {
  text-align: center;
  padding: 48px 40px;
  max-width: 380px;
  margin: 0 auto;
}

.hero-qr-text {
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 24px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-qr-wrapper {
  width: 240px;
  height: 240px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border);
  background: var(--bg-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.hero-qr-wrapper:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 16px rgba(26,115,232,0.15);
}

.hero-qr-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-top: -60px;
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  width: calc(100% - 48px);
}

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

.stat-number {
  font-size: 36px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 15px;
  color: var(--text-secondary);
}

.services-section {
  background: var(--bg-light);
}

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

.service-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

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

.service-card .ai-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  padding: 2px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 28px;
}

.service-icon.blue {
  background: var(--primary-light);
  color: var(--primary);
}

.service-icon.teal {
  background: #e0f5f4;
  color: var(--accent);
}

.service-icon.orange {
  background: #fef3e2;
  color: #d97706;
}

.service-card h3 {
  font-size: 20px;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.service-card .service-link {
  color: var(--primary);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: var(--transition);
}

.service-card .service-link:hover {
  gap: 8px;
}

.ai-section {
  background: var(--bg-white);
}

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

.ai-visual {
  position: relative;
}

.ai-visual-box {
  background: linear-gradient(135deg, #f0f7ff, #e8f4f8);
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

.ai-network {
  position: relative;
  width: 100%;
  height: 320px;
}

.ai-node {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(26,115,232,0.3);
}

.ai-node:nth-child(1) { top: 20%; left: 20%; }
.ai-node:nth-child(2) { top: 50%; left: 10%; }
.ai-node:nth-child(3) { top: 30%; left: 60%; }
.ai-node:nth-child(4) { top: 60%; left: 50%; }
.ai-node:nth-child(5) { top: 15%; left: 80%; }
.ai-node:nth-child(6) { top: 70%; left: 75%; }
.ai-node:nth-child(7) { top: 80%; left: 30%; }

.ai-line {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(26,115,232,0.2), transparent);
  height: 1px;
  transform-origin: left center;
}

.ai-line:nth-child(8) { top: 25%; left: 22%; width: 40%; transform: rotate(-10deg); }
.ai-line:nth-child(9) { top: 35%; left: 22%; width: 35%; transform: rotate(20deg); }
.ai-line:nth-child(10) { top: 45%; left: 12%; width: 50%; transform: rotate(-5deg); }
.ai-line:nth-child(11) { top: 55%; left: 12%; width: 45%; transform: rotate(15deg); }
.ai-line:nth-child(12) { top: 65%; left: 20%; width: 55%; transform: rotate(-8deg); }

.ai-data-flow {
  position: absolute;
  width: 6px;
  height: 6px;
  background: var(--secondary);
  border-radius: 50%;
  animation: data-flow 3s ease-in-out infinite;
}

@keyframes data-flow {
  0% { transform: translate(0, 0); opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translate(200px, -80px); opacity: 0; }
}

.ai-text h3 {
  font-size: 28px;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.ai-text p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 24px;
}

.ai-features {
  display: grid;
  gap: 16px;
}

.ai-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

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

.ai-feature-icon {
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  flex-shrink: 0;
}

.ai-feature-text h4 {
  font-size: 15px;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.ai-feature-text p {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 0;
}

.advantages-section {
  background: var(--bg-light);
}

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

.advantage-card {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.advantage-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.advantage-card:nth-child(1) .advantage-icon { background: var(--primary-light); color: var(--primary); }
.advantage-card:nth-child(2) .advantage-icon { background: #e0f5f4; color: var(--accent); }
.advantage-card:nth-child(3) .advantage-icon { background: #fef3e2; color: #d97706; }
.advantage-card:nth-child(4) .advantage-icon { background: #f3e8ff; color: #7c3aed; }

.advantage-card h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.advantage-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.testimonials-section {
  background: var(--bg-white);
  overflow: hidden;
}

.testimonials-slider {
  display: flex;
  gap: 30px;
  transition: transform 0.5s ease;
  padding: 20px 0 40px;
}

.testimonial-card {
  min-width: calc(33.333% - 20px);
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  flex-shrink: 0;
}

.testimonial-card .quote {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-card .author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

.testimonial-card .author-info h4 {
  font-size: 15px;
  color: var(--text-primary);
}

.testimonial-card .author-info span {
  font-size: 13px;
  color: var(--text-light);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}

.testimonial-dot.active {
  background: var(--primary);
  width: 28px;
  border-radius: 5px;
}

.cta-section {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 80px 0;
  text-align: center;
  color: #fff;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta-section .btn {
  background: #fff;
  color: var(--primary);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.cta-section .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.2);
}

@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-text h1 {
    font-size: 38px;
  }
  .hero-visual {
    display: none;
  }
  .stats {
    grid-template-columns: repeat(2, 1fr);
    width: calc(100% - 32px);
  }
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .testimonial-card {
    min-width: calc(50% - 15px);
  }
}

@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 32px;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .ai-content {
    grid-template-columns: 1fr;
  }
  .ai-visual {
    display: none;
  }
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-card {
    min-width: calc(100%);
  }
  .stat-number {
    font-size: 28px;
  }
  .cta-section h2 {
    font-size: 28px;
  }
}
