/* ============================================
   Product Hero Section
   ============================================ */
.product-hero {
  display: flex;
  align-items: center;
  padding: 100px 0 40px;
  background: #0a0c10;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-left {
  flex: 1;
  max-width: 560px;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero-description {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 32px;
}

.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-tag {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
}

.feature-tag iconify-icon {
  color: #10b981;
  font-size: 16px;
}

.hero-deployment {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
}

.deployment-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.deployment-item {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}

.deployment-divider {
  color: rgba(255, 255, 255, 0.3);
}

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

.hero-right {
  flex: 1;
  max-width: 480px;
  display: flex;
  justify-content: center;
}

/* Demo Card */
.demo-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  perspective: 1000px;
}

.demo-id-card {
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 16px;
  padding: 24px;
  box-shadow:
          0 25px 50px -12px rgba(0, 0, 0, 0.5),
          0 0 0 1px rgba(255, 255, 255, 0.1);
  transform: rotateY(-5deg) rotateX(5deg);
  transition: transform 0.5s ease;
}

.demo-card:hover .demo-id-card {
  transform: rotateY(0deg) rotateX(0deg);
}

.id-card-scan-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #ef4444, transparent);
  border-radius: 16px 16px 0 0;
  animation: scanLine 2s ease-in-out infinite;
}

@keyframes scanLine {
  0%, 100% {
    top: 0;
    opacity: 1;
  }
  50% {
    top: calc(100% - 3px);
    opacity: 0.5;
  }
}

.id-card-content {
  position: relative;
}

.id-card-header {
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e7eb;
}

.id-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #1f2937;
  letter-spacing: 0.05em;
}

.id-card-body {
  display: flex;
  gap: 20px;
}

.id-card-photo {
  flex-shrink: 0;
}

.photo-placeholder {
  width: 80px;
  height: 100px;
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-placeholder iconify-icon {
  font-size: 40px;
  color: #9ca3af;
}

.id-card-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.info-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.info-label {
  font-size: 12px;
  color: #6b7280;
  min-width: 70px;
}

.info-value {
  font-size: 13px;
  color: #1f2937;
  font-weight: 500;
}

/* ============================================
   Product Features Section
   ============================================ */
.product-features {
  padding: 60px 0;
  background: #0a0c10;
}

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

.product-features .feature-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
}

.product-features .feature-card:hover {
  border-color: rgba(239, 68, 68, 0.3);
  transform: translateY(-4px);
}

.product-features .feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(239, 68, 68, 0.1);
  border-radius: 16px;
}

.product-features .feature-icon iconify-icon {
  font-size: 32px;
  color: #ef4444;
}

.product-features .feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.product-features .feature-card p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
}

/* ============================================
   Try Section
   ============================================ */
.try-section {
  padding: 40px 0 80px;
  background: #111318;
}

.try-header {
  text-align: center;
  margin-bottom: 32px;
}

.try-header h2 {
  font-size: 28px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 8px;
}

.try-header p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.try-content {
  display: flex;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Image Area */
.image-area {
  flex: 2;
  background: #1a1d24;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.image-placeholder {
  height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
}

.image-placeholder-icon {
  font-size: 64px;
  color: rgba(255, 255, 255, 0.2);
  margin-bottom: 16px;
}

.image-placeholder p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 8px;
}

.image-placeholder span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
}

/* Control Bar */
.control-bar {
  background: rgba(0, 0, 0, 0.6);
  padding: 16px 20px;
}

.control-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}

.url-input {
  flex: 1;
  height: 40px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #ffffff;
  font-size: 14px;
  outline: none;
}

.url-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.url-input:focus {
  border-color: rgba(255, 255, 255, 0.3);
}

.url-btn {
  height: 40px;
  padding: 0 20px;
  background: #ef4444;
  color: #ffffff;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}

.url-btn:hover {
  background: #dc2626;
}

.control-divider {
  color: rgba(255, 255, 255, 0.4);
  font-size: 14px;
  white-space: nowrap;
}

.upload-btn {
  height: 40px;
  padding: 0 16px;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.upload-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.upload-btn iconify-icon {
  font-size: 18px;
}

/* Example Images */
.example-images {
  display: flex;
  gap: 12px;
  padding: 16px 20px;
  background: #2a2d35;
}

.example-item {
  width: 60px;
  height: 40px;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.example-item:hover {
  border-color: rgba(239, 68, 68, 0.5);
}

.example-item.active {
  border-color: #ef4444;
}

.example-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Result Panel */
.result-panel {
  flex: 1;
  background: #1a1d24;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  min-width: 300px;
}

.result-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.result-tab {
  flex: 1;
  padding: 16px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.result-tab:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.result-tab.active {
  background: #2a2d35;
  color: #ffffff;
}

.result-tab:hover:not(.active) {
  color: rgba(255, 255, 255, 0.8);
}

.result-content {
  max-height: 500px;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow: auto;
}

.result-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.result-placeholder-icon {
  font-size: 48px;
  color: rgba(255, 255, 255, 0.15);
  margin-bottom: 16px;
}

.result-placeholder p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
   Header Transparent
   ============================================ */
.header-transparent {
  background: transparent;
  border-bottom: none;
}

.header-transparent .nav-link {
  color: rgba(255, 255, 255, 0.85);
}

.header-transparent .nav-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.header-transparent .btn-outline {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.3);
}

.header-transparent .btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-features {
    justify-content: center;
  }

  .hero-deployment {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-right {
    max-width: 100%;
  }

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

  .try-content {
    flex-direction: column;
  }

  .image-area {
    min-height: auto;
  }

  .result-panel {
    min-width: auto;
  }
}

@media (max-width: 768px) {


  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }

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

  .product-features .features-grid {
    grid-template-columns: 1fr;
  }

  .product-features .feature-card {
    padding: 24px 20px;
  }

  .control-bar-inner {
    flex-wrap: wrap;
  }

  .url-input {
    width: 100%;
    flex: none;
  }

  .control-divider {
    display: none;
  }

  .example-images {
    overflow-x: auto;
    justify-content: flex-start;
  }
}
