/* Section Hero Styles */
.section-hero {
  position: relative;
  background-color: var(--dark);
  background-image: linear-gradient(135deg, rgba(7, 15, 30, 0.94) 0%, rgba(11, 25, 44, 0.88) 100%), url('_assets/hero.jpg');
  background-size: cover;
  background-position: center center;
  padding: 85px 0 100px;
  color: #ffffff;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 107, 0, 0.15);
  border: 1px solid rgba(255, 107, 0, 0.4);
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffaa5b;
  margin-bottom: 24px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent);
}

.hero-title {
  font-family: var(--font-title);
  font-size: 2.85rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 20px;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: var(--accent);
  display: block;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 32px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.hero-trust-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-item strong {
  display: block;
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--accent);
  line-height: 1.2;
}

.trust-item span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.15);
}

/* Tracking Widget */
.tracking-widget {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35);
  color: var(--text);
  overflow: hidden;
}

.widget-header {
  padding: 24px 24px 16px;
  background: #ffffff;
  border-bottom: 1px solid var(--border);
}

.widget-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  margin: 0 0 4px;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.widget-title i {
  color: var(--accent);
}

.widget-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.tracking-tabs-nav {
  display: flex;
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
}

.tracking-tab-btn {
  flex: 1;
  padding: 14px 12px;
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

.tracking-tab-btn.active {
  background: #ffffff;
  color: var(--accent);
  border-bottom: 2px solid var(--accent);
}

.widget-body {
  padding: 24px;
}

.tracking-panel {
  display: none;
}
.tracking-panel.active {
  display: block;
}

.form-group {
  margin-bottom: 16px;
}

.form-row {
  display: flex;
  gap: 12px;
}
.col-half {
  flex: 1;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 6px;
}

.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.input-with-icon i {
  position: absolute;
  left: 14px;
  color: var(--text-muted);
}
.input-with-icon .form-input {
  padding-left: 40px;
}

.form-input, .form-select {
  width: 100%;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-btn);
  background: #ffffff;
  color: var(--text);
  outline: none;
  transition: var(--transition);
}
.form-input:focus, .form-select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.15);
}

.btn-block {
  width: 100%;
}

.track-status-box {
  margin-top: 16px;
  padding: 14px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
}

.track-status-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.track-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.775rem;
  font-weight: 700;
  background: #dbeafe;
  color: #1e40af;
}

.track-code {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.track-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-size: 0.85rem;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px dashed var(--border);
}

.route-point strong {
  display: block;
  color: var(--primary);
}
.route-point span {
  font-size: 0.775rem;
  color: var(--text-muted);
}

.route-line {
  color: var(--accent);
  font-size: 1rem;
}

.track-latest {
  font-size: 0.8rem;
  color: #059669;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.widget-footer {
  padding: 12px 24px;
  background: #f8fafc;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.775rem;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 991px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-title {
    font-size: 2.25rem;
  }
}
@media (max-width: 640px) {
  .section-hero {
    padding: 60px 0 70px;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .trust-divider {
    display: none;
  }
  .form-row {
    flex-direction: column;
    gap: 12px;
  }
  .widget-footer {
    flex-direction: column;
    gap: 6px;
  }
}


.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(255, 107, 0, 0.15), transparent 40%);
  pointer-events: none;
}
.hero-widget-col {
  position: relative;
  z-index: 2;
}
.widget-form {
  display: flex;
  flex-direction: column;
}
.track-result-container {
  margin-top: 16px;
}
.secure-tag, .api-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
